import axios from "./axios.js";
export default {
  add: data => {
    return axios({
      method: "post",
      url: "/api/shop/add",
      data
    });
  },
  query: data => {
    return axios({
      method: "post",
      url: "/api/uploads",
      data
    });
  },
  get: data => {
    return axios({
      method: "get",
      url: "/api/shop/getAll",
      data
    });
  }
};
